import request from '@/utils/request.js'
//获取数据列表
export function getRodListAPI(params) {
    return request({
        url: '/pole/info/list',
        method: 'GET',
        params: params
    })
}
//添加一体杆
export function addRodAPI(obj) {
    return request({
        url: '/pole/info',
        method: 'POST',
        data: obj
    })
}
//获取关联区域列表
export function getDropListAPI() {
    return request({
        url: '/parking/area/dropList',
        method: 'GET',
      
    })
}
//编辑列表id
export function editRodAPI(obj) {
    return request({
        url: '/pole/info',
        method: 'PUT',
      data:obj
    })
}
//删除id
export function delRodAPI(id) {
    return request({
        url: '/pole/info/'+id,
        method: 'DELETE',
      
    })
}


